#include <bits/stdc++.h>
using namespace std;

using LL=long long;
LL n;
LL r[100000];
LL ans;

int main(){
    auto _1 = freopen("duel.out", "w", stdout);
    auto _2 = freopen("duel.in" , "r", stdin );
    cin>> n;
    for (LL i=0; i<n; i++){
        cin>> r[i];
    }
    sort(r, r+n);
    for (LL i=1; i<n; i++){
        for (LL j=0; j<i; j++){
            if (r[j] != 0 && r[j] != r[i]){
                r[j] = 0;
                break;
            }
        }
    }
    for (LL i=0; i<n; i++)
        if (r[i]) ans++;
    cout<< ans<< endl;
    return 0;
}
